exports.data = {
	json: {
		kind: 'Snippet',
		body: ['"t-tab": "tdesign-miniprogram/tab-panel/tab-panel"'],
		detail: 'Tab 标签页 Tab',
		documentation: `在app.json或index.json中引入组件`,
	},
	wxml: {
		kind: 'Snippet',
		body: ['<t-tab${1}>${2:内容 1}</t-tab>'],
		detail: 'Tab 标签页 Tab',
		documentation: `选项卡组件，用于在不同的内容区域之间进行切换。`,
		attrs: [
			{
				kind: 'Field',
				body: ['badge-props='],
				detail: 'badge-props',
				documentation: '透传至 Badge 属性',
				vals: null,
			},
			{
				kind: 'Field',
				body: ['destroy-on-hide='],
				detail: 'destroy-on-hide',
				documentation: '是否禁用标签',
				vals: {
					kind: 'Value',
					body: ['true', 'false'],
					detail: '',
					documentation: '',
				},
			},
			{
				kind: 'Field',
				body: ['label='],
				detail: 'label',
				documentation: '标签名称，作为匹配的标识符',
				vals: null,
			},
			{
				kind: 'Field',
				body: ['panel='],
				detail: 'panel',
				documentation: '用于自定义选项卡面板内容。通用类型定义',
				vals: null,
			},
			{
				kind: 'Field',
				body: ['title='],
				detail: 'title',
				documentation: '标题',
				vals: null,
			},
			{
				kind: 'Field',
				body: ['disabled'],
				detail: 'disabled',
				documentation: '是否禁用标签',
				vals: {
					kind: 'Value',
					body: ['true', 'false'],
					detail: '',
					documentation: '',
				},
			},
			{
				kind: 'Field',
				body: ['icon='],
				detail: 'icon',
				documentation:
					'图标名称。值为字符串表示图标名称，值为 Object 类型，表示透传至 icon	',
				vals: null,
			},
			{
				kind: 'Field',
				body: ['value='],
				detail: 'value',
				documentation: '选项卡的值，唯一标识。TS 类型 String / Number',
				vals: null,
			},
			{
				kind: 'Field',
				body: ['info='],
				detail: 'info',
				documentation: '图标右上角提示信息',
				vals: null,
			},
			{
				kind: 'Field',
				body: ['title-style='],
				detail: 'title-style',
				documentation: '自定义标题样式',
				vals: null,
			},
		],
	},
}
